package com.example.service;


import com.example.dto.UserDTO;
import com.example.dto.UserRegisterDTO;
import com.example.pojo.*;

public interface UserService {

    Result register(UserRegisterDTO registerDTO);

    LoginInfo login(User user);

    PageResult<User> pageQuery(UserQueryParam userQueryParam ,Integer roleCode);

    User getUserByuserId(Long userId, Integer roleCodeId);

    String updateUser(Long userId, User user, Integer roleCodeId);

    String resetPassword(UserDTO userDTO, Integer roleCodeId);
}
